package com.dingpeikeji.quickdeer.modules.rentproduct.entity;

import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.DataEntity;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.Office;
import com.google.common.collect.Lists;

public class DiscountFactor extends DataEntity<DiscountFactor>{
	
	//接送机距离标准
	public static final String Distance_short = "1";//50公里以内
	public static final String Distance_medium = "2";//50-150公里
	public static final String Distance_long = "3"; // 150-275公里
	public static final String Distance_Longest="4";//275公里以上
	
	private Integer discountid;        //主键
	private String officeid;   //归属公司
	private String officename; //归属公司名称
	private Double factor;     //接送机价格系数
	private  String distancelevel;  //距离标准
	private List<DiscountFactor> discountList = Lists.newArrayList();	//产品列表
	

	public List<DiscountFactor> getDiscountList() {
		return discountList;
	}

	public void setDiscountList(List<DiscountFactor> discountList) {
		this.discountList = discountList;
	}

	public DiscountFactor() {
		super();
	}

	public DiscountFactor(String id) {
		super(id);
	}

	
	public Integer getDiscountid() {
		return discountid;
	}

	public void setDiscountid(Integer discountid) {
		this.discountid = discountid;
	}

	public String getOfficeid() {
		return officeid;
	}

	public void setOfficeid(String officeid) {
		this.officeid = officeid;
	}

	public String getOfficename() {
		return officename;
	}

	public void setOfficename(String officename) {
		this.officename = officename;
	}

	public Double getFactor() {
		return factor;
	}

	public void setFactor(Double factor) {
		this.factor = factor;
	}

	public String getDistancelevel() {
		return distancelevel;
	}

	public void setDistancelevel(String distancelevel) {
		this.distancelevel = distancelevel;
	}

}
